package com.keda.springdata_elasticsearch.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author hjb
 * @Date 2023/10/17
 **/
@Data
public class OperationErrorLogDTO {

    /**
     * 根据时间唯一uuid
     */
    private String uuId;
    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 操作人
     */
    private List<String> createdUsers;

    /**
     * 模块
     */
    private String moudle;

    /**
     * 类型
     */
    private List<String> errorTypes;

    /**
     * 错误码
     */
    private String errorCode;

    private Integer pageSize = 20;

    private Integer pageNo = 0;

    private String sortField = "createdTime";

    private String sortOrder = "desc";
}
